<!-- BEGIN HEADER -->
<header class="clearfix">
    <!-- BEGIN LOGO -->
    <a id="headerlink" href="<?php echo $this->createUrl('site/index'); ?>">
        <span id="sitename-left">Game</span>
        <img id="logo_2" src="<?php echo Yii::app()->request->baseUrl; ?>/images/logo_3.png" alt="logo"/>
        <span id="sitename-right">nline</span>
    </a>
    <!-- END LOGO -->

    <!-- BEGIN NAVIGATION -->
    <nav>
    <ul id="nav" class="clearfix">
    <!-- Menu Item 1 -->
        <li class="<?php if($controller=='site') echo 'current'; ?>">
            <a href="<?php echo $this->createUrl('site/index'); ?>">
                <span><?php echo Yii::t('main', 'home'); ?></span>
            </a>
        </li>
    <!-- Menu Item 2 -->
        <li class="<?php if($controller=='game') echo 'current'; ?>">
            <a href="<?php echo Yii::app()->createUrl('game/listGames');?>" ><span><?php echo Yii::t('main', 'game'); ?></span></a>
            <ul>
                <li><a href="<?php echo $this->createUrl('game/poker'); ?>"><span><?php echo Yii::t('main', 'game.poker'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('game/tienlen'); ?>"><span><?php echo Yii::t('main', 'game.tienlen'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('game/3la'); ?>"><span><?php echo Yii::t('main', 'game.3la'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('game/phom'); ?>"><span><?php echo Yii::t('main', 'game.phom'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('game/covua'); ?>"><span><?php echo Yii::t('main', 'game.chess'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('game/cotuong'); ?>"><span><?php echo Yii::t('main', 'game.chinese_chess'); ?></span></a></li>
            </ul>
        </li>
    <!-- Menu Item 2 -->
        <li class="<?php if($controller=='bank') echo 'current'; ?>">
            <a href="<?php echo Yii::app()->createUrl('bank/listDeposits');?>" ><span><?php echo Yii::t('main', 'add_coin'); ?></span></a>
            <ul>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/wmz'); ?>"><span><?php echo Yii::t('main', 'add_coin.wmz'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/pm'); ?>"><span><?php echo Yii::t('main', 'add_coin.pm'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/bk'); ?>"><span><?php echo Yii::t('main', 'add_coin.bk'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/nl'); ?>"><span><?php echo Yii::t('main', 'add_coin.nl'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/sms'); ?>"><span><?php echo Yii::t('main', 'add_coin.sms'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/mcard'); ?>"><span><?php echo Yii::t('main', 'add_coin.mcard'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('bank/deposit/type/gcard'); ?>"><span><?php echo Yii::t('main', 'add_coin.gcard'); ?></span></a></li>
            </ul>
        </li>
    <!-- Menu Item 3 -->
        <li class="<?php if($controller=='help') echo 'current'; ?>">
            <a href="<?php echo $this->createUrl('help/') ?>"><span><?php echo Yii::t('main', 'help'); ?></span></a>
            <ul>
                <li><a href="<?php echo $this->createUrl('help/') ?>"><span><?php echo Yii::t('main', 'help.add_coin'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('help/') ?>"><span><?php echo Yii::t('main', 'help.play'); ?></span></a></li>
                <li><a href="<?php echo $this->createUrl('help/') ?>"><span><?php echo Yii::t('main', 'help.register'); ?></span></a></li>
            </ul>
        </li>
    <!-- Menu Item 4 -->
        <li class="<?php if($controller=='shop') echo 'current'; ?>">
            <a href="<?php echo $this->createUrl('shop/') ?>">
            <span><?php echo Yii::t('main', 'shop'); ?></span></a>
        </li>
    <!-- Menu Item 5 -->
        <li class="<?php if($controller=='event') echo 'current'; ?>">
            <a href="<?php echo $this->createUrl('event/') ?>">
            <span><?php echo Yii::t('main', 'event'); ?></span></a>
        </li>
    </ul>
    </nav>
    <!-- END NAVIGATION -->
</header>
<!-- END HEADER -->